#pragma once

#include "TapeControlDlg.h"

// CTapeCtrlView

class CTapeCtrlView : public CDockablePane
{
		DECLARE_DYNAMIC(CTapeCtrlView)

	protected:
		CTapeControlDlg m_TapeCtrlDlg;

	public:
		CTapeCtrlView();
		void AdjustLayout();

		virtual ~CTapeCtrlView();
		void UpdateTapeControls(BOOL bFlg = FALSE);
		void InitParams(CString &strPath, BOOL bAutoBeginDetection, BOOL bAutoEnsDetection, CTape *pTape);

	protected:
		afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
		afx_msg void OnSize(UINT nType, int cx, int cy);
		afx_msg void OnPaint();
		DECLARE_MESSAGE_MAP()
};
